body {
    background-image: url('../imgs/registertrainer.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#main-container {
    background-color: rgba(239, 224, 224, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
    width: 60%;
    max-width: 600px;
    position: relative;
}

.title-area {
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: red;
}

.input-section {
    margin-top: 20px;
    width: 100%;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;

}

.input-group label {
    display: inline-block;
    width: 150px;
    text-align: right;
    margin-right: 1px;
}

.input-group input {
    flex: 0.6;
    padding: 5px;
}

#add-button {
    border-color: #cfc085;
    background-color: rgba(251, 2, 2, 0.7);
    color: aliceblue;
    border-style: hidden;
    margin-top: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
/* 图片区域样式 */
.image-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 120px;
    height: 170px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}